package org.zjt.xiaofeng;

import java.io.Serializable;

public class SingleInstance implements Serializable {
    private SingleInstance() {
    }

    private static class A {
        private static final  SingleInstance INSTANCE = new SingleInstance();
    }

    public static SingleInstance getSingleInstance(String[] args) {
        return A.INSTANCE;
    }

    /*         * private void writeObject(java.io.ObjectOutputStream out)
     *     throws IOException
     * private void readObject(java.io.ObjectInputStream in)
     *     throws IOException, ClassNotFoundException;
     * private void readObjectNoData()
     *     throws ObjectStreamException;*/
}
